package c.h.a.w;

import android.view.View;
import android.view.View.OnClickListener;
import c.h.a.v.a;
import c.h.a.w.k.i;
import c.h.a.w.m.g;
import com.liuzh.deviceinfo.analyzer.StorageAnalyzeActivity;
import com.liuzh.deviceinfo.analyzer.StorageAnalyzeActivity.b;
import com.liuzh.deviceinfo.analyzer.view.LargeFileFloatingView;
import com.liuzh.deviceinfo.analyzer.view.RedundantFileFloatingView;
import java.util.Objects;

/* compiled from: lambda */
public final /* synthetic */ class c implements OnClickListener {
    public final /* synthetic */ b a;
    public final /* synthetic */ i b;
    public final /* synthetic */ c.h.a.w.j.b c;
    public final /* synthetic */ int d;

    public /* synthetic */ c(b bVar, i iVar, c.h.a.w.j.b bVar2, int i) {
        this.a = bVar;
        this.b = iVar;
        this.c = bVar2;
        this.d = i;
    }

    public final void onClick(View view) {
        b bVar = this.a;
        i iVar = this.b;
        c.h.a.w.j.b bVar2 = this.c;
        int i = this.d;
        Objects.requireNonNull(bVar);
        int i2 = iVar.d;
        StorageAnalyzeActivity storageAnalyzeActivity;
        if (i2 == 1) {
            storageAnalyzeActivity = StorageAnalyzeActivity.this;
            if (storageAnalyzeActivity.A == null) {
                storageAnalyzeActivity.A = new RedundantFileFloatingView(view.getContext());
            }
            bVar.h(bVar2, StorageAnalyzeActivity.this.A, i);
            a.b.c("redundant_show", null);
        } else if (i2 == 2) {
            storageAnalyzeActivity = StorageAnalyzeActivity.this;
            if (storageAnalyzeActivity.C == null) {
                storageAnalyzeActivity.C = new g(view.getContext());
            }
            bVar.h(bVar2, StorageAnalyzeActivity.this.C, i);
            a.b.c("duplicate_show", null);
        } else if (i2 == 3) {
            storageAnalyzeActivity = StorageAnalyzeActivity.this;
            if (storageAnalyzeActivity.B == null) {
                storageAnalyzeActivity.B = new LargeFileFloatingView(view.getContext());
            }
            bVar.h(bVar2, StorageAnalyzeActivity.this.B, i);
            a.b.c("large_show", null);
        }
    }
}
